//
//  PriceModel.m
//  110
//
//  Created by 沈鑫 on 16/4/12.
//  Copyright © 2016年 乔砥. All rights reserved.
//

#import "PriceModel.h"

@implementation PriceModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

+ (NSMutableArray *)getData:(NSDictionary *)dic
{
    NSMutableArray *bigArray = [NSMutableArray array];
    NSDictionary *dic2 = dic[@"results"];
    NSArray *array = dic2[@"Online"];
    for (NSDictionary *dic4 in array)
    {
        PriceModel *model = [[PriceModel alloc]init];
        [model setValuesForKeysWithDictionary:dic4];
        [bigArray addObject:model];
    }
    return bigArray;
}
@end
